package com.atguigu.gulimall.authserver.feign;


import com.atguigu.common.utils.R;
import com.atguigu.gulimall.authserver.vo.UserRegistVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "gulimall-member")
public interface MemberFeignService {


    @PostMapping("/member/member/register")
    R register(@RequestBody UserRegistVo userRegistVo);


    @PostMapping("/member/member/login")
    R login(@RequestBody UserRegistVo userRegistVo);

}
